.class public Lcom/xingbook/ui/l;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/b/m;


# instance fields
.field a:Landroid/view/View;

.field b:Landroid/widget/ImageView;

.field c:Landroid/widget/ImageView;

.field d:Landroid/widget/TextView;

.field e:Landroid/widget/TextView;

.field f:Landroid/widget/LinearLayout;

.field g:Landroid/widget/TextView;

.field h:Landroid/widget/ImageView;

.field i:Ljava/lang/String;

.field j:I

.field final synthetic k:Lcom/xingbook/ui/InsetTingTingViews;


# direct methods
.method public constructor <init>(Lcom/xingbook/ui/InsetTingTingViews;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->b(Lcom/xingbook/ui/InsetTingTingViews;)Lcom/xingbook/ui/k;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v1, p0}, Lcom/xingbook/ui/k;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    iput-object p1, p0, Lcom/xingbook/ui/l;->i:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->b(Lcom/xingbook/ui/InsetTingTingViews;)Lcom/xingbook/ui/k;

    move-result-object v0

    const/4 v1, 0x3

    invoke-virtual {v0, v1, p0}, Lcom/xingbook/ui/k;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->b(Lcom/xingbook/ui/InsetTingTingViews;)Lcom/xingbook/ui/k;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1, p0}, Lcom/xingbook/ui/k;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    if-ne v0, v3, :cond_2

    invoke-virtual {p1}, Landroid/view/View;->isSelected()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-virtual {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a()V

    invoke-virtual {p1, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    iget v1, p0, Lcom/xingbook/ui/l;->j:I

    invoke-virtual {v0, v2, v1}, Lcom/xingbook/ui/InsetTingTingViews;->a(ZI)V

    invoke-virtual {p1, v3}, Landroid/view/View;->setSelected(Z)V

    goto :goto_0

    :cond_2
    const/4 v1, 0x3

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/l;->k:Lcom/xingbook/ui/InsetTingTingViews;

    invoke-static {v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;

    move-result-object v0

    iget v1, p0, Lcom/xingbook/ui/l;->j:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    invoke-virtual {v0}, Lcom/xingbook/b/k;->a()Z

    goto :goto_0
.end method
